import 'package:test/test.dart';

void main() {
  test("基础的时间相等测试", () {
    final duration1 = Duration(seconds: 1);
    final duration2 = Duration(seconds: 1);
    expect(duration1 == duration2, isTrue);

    final time1 = DateTime.fromMicrosecondsSinceEpoch(1000000);
    final time2 = DateTime.fromMicrosecondsSinceEpoch(1000000);
    expect(time1 == time2, isTrue);
  });
}
